/**
 * 
 */
package pers.vic.test.es;

import java.io.Serializable;
import java.util.List;

/**
 *  @description: 
 *  @author Vic.xu
 *  @date: 2020年6月17日上午10:48:24
 */
public class SearchPage<T> implements Serializable {

    private static final long serialVersionUID = -5177498529969801742L;
    /**
     * 输入关键字 eg:测试
     */
    private String keyword;

    /**
     * 全文检索的字段
     */
    private String[] keyFields;

    /**
     * 当前页号 eg:1  注意 这里是起始页号
     */
    private Integer pageNo;
    /**
     * 分页大小 eg:10
     */
    private Integer pageSize;
    /**
     * 目前 eg:articleTitle
     */
    private String params;
    /**
     * 索引 eg:clms_article_index
     */
    private String index;

    /**
     * 数据
     */
    private List<T> list;

	/**
	 * @return the keyword
	 */
	public String getKeyword() {
		return keyword;
	}

	/**
	 * @param keyword the keyword to set
	 */
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	/**
	 * @return the keyFields
	 */
	public String[] getKeyFields() {
		return keyFields;
	}

	/**
	 * @param keyFields the keyFields to set
	 */
	public void setKeyFields(String[] keyFields) {
		this.keyFields = keyFields;
	}

	/**
	 * @return the pageNo
	 */
	public Integer getPageNo() {
		return pageNo;
	}

	/**
	 * @param pageNo the pageNo to set
	 */
	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}

	/**
	 * @return the pageSize
	 */
	public Integer getPageSize() {
		return pageSize;
	}

	/**
	 * @param pageSize the pageSize to set
	 */
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	/**
	 * @return the params
	 */
	public String getParams() {
		return params;
	}

	/**
	 * @param params the params to set
	 */
	public void setParams(String params) {
		this.params = params;
	}

	/**
	 * @return the index
	 */
	public String getIndex() {
		return index;
	}

	/**
	 * @param index the index to set
	 */
	public void setIndex(String index) {
		this.index = index;
	}

	/**
	 * @return the list
	 */
	public List<T> getList() {
		return list;
	}

	/**
	 * @param list the list to set
	 */
	public void setList(List<T> list) {
		this.list = list;
	}
    
    
}
